package com.logistic.server.common.constant;

/**
 * 通用常量信息
 *
 * @author swen
 */
public class Constants {

    public final static String TOKEN = "token";

    /**
     * 菜单类型（目录）
     */
    public static final String TYPE_DIR = "M";

    /**
     * 菜单类型（菜单）
     */
    public static final String TYPE_MENU = "C";

    /**
     * 菜单类型（按钮）
     */
    public static final String TYPE_BUTTON = "F";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * Layout组件标识
     */
    public final static String LAYOUT = "Layout";

    /**
     * ParentView组件标识
     */
    public final static String PARENT_VIEW = "ParentView";

    /**
     * InnerLink组件标识
     */
    public final static String INNER_LINK = "InnerLink";

    /**
     * 是否菜单外链（是）
     */
    public static final String YES_FRAME = "0";

    /**
     * 是否菜单外链（否）
     */
    public static final String NO_FRAME = "1";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 校验返回结果码
     */
    public final static String UNIQUE = "0";


    public final static String NOT_UNIQUE = "1";

    /**
     * 部门正常状态
     */
    public static final String DEPT_NORMAL = "0";


    /**
     * 部门停用状态
     */
    public static final String DEPT_DISABLE = "1";

    /** 是否为系统默认（是） */
    public static final String YES = "Y";

    /**
     * 文件访问前缀
     */
    public static final String UPLOAD_PATH = "/upload/";

    /**
     * 卡号后缀
     */
    public static final String CARD_KEY_SUFFIX = "365";
}
